#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main() {
	int x = 0;
	int begin = clock();
	int n = 10000;
	for (int i = 0; i < n; i++) {
		for (int j = 0; j < n; j++) {
			x++;
		}
	}
	int end = clock();
	printf("%d\n", x);
	printf("%d", end - begin);
}